
using Qdb.CS.Internal.Messages;
using Qdb.Internal;

namespace Qdb.CS.Internal.Messages
{
	/// <exclude></exclude>
	public class MIdentity : Msg, IMessageWithResponse
	{
		public virtual Msg ReplyFromServer()
		{
			ObjectContainerBase stream = Stream();
			return RespondInt(stream.GetID(Transaction(), ((IInternalObjectContainer)stream).
				Identity()));
		}
	}
}
